/*
 *  txdnet.cn tonydon
 * 
 */
package cn.txdnet.txcms.query;

import java.sql.Date;

/**
 *
 * @author txdnet
 */
public class FeedbackQuery extends BaseQuery {

    private static final long serialVersionUID = -4954872816751402214L;
    private Byte dealstate;
    private Date begintime;
    private Date endtime;
    private Long btime;
    private Long etime;

    @Override
    public void filter() {
        if (begintime != null && endtime != null) {
            btime = begintime.getTime();
            etime = endtime.getTime();
        }
    }

    /**
     * @return the btime
     */
    public Long getBtime() {
        return btime;
    }

    /**
     * @param btime the btime to set
     */
    public void setBtime(Long btime) {
        this.btime = btime;
    }

    /**
     * @return the etime
     */
    public Long getEtime() {
        return etime;
    }

    /**
     * @param etime the etime to set
     */
    public void setEtime(Long etime) {
        this.etime = etime;
    }

    /**
     * @return the begintime
     */
    public Date getBegintime() {
        return begintime;
    }

    /**
     * @param begintime the begintime to set
     */
    public void setBegintime(Date begintime) {
        this.begintime = begintime;
    }

    /**
     * @return the endtime
     */
    public Date getEndtime() {
        return endtime;
    }

    /**
     * @param endtime the endtime to set
     */
    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    /**
     * @return the dealstate
     */
    public Byte getDealstate() {
        return dealstate;
    }

    /**
     * @param dealstate the dealstate to set
     */
    public void setDealstate(Byte dealstate) {
        this.dealstate = dealstate;
    }
}
